/* ---------------------------------------------------------------------------
**  MIPS Assembler UnB - Parser
**
**  Description: 
**
**  Author:
**  Project: MIPS Assembler UnB - October 2011
** -------------------------------------------------------------------------*/


#ifndef SEMANTIC_ANALYZER_H
#define SEMANTIC_ANALYZER_H
/*----------------------------------------------*/

#include "mips_assembler.h"
#include <stdio.h>
#include <stdint.h>

/* ---------------------------------------------------------------------------
**								DEFINES
** -------------------------------------------------------------------------*/


/* ---------------------------------------------------------------------------
**						  FUNCTION PROTOTYPES
** -------------------------------------------------------------------------*/

/* Function:
** Description:
** -------------------------------------------------------------------------*/
uint32_t semantic_analysis(inst_list*,symbols_table*);

/* Function:
** Description:
** -------------------------------------------------------------------------*/
uint32_t labelvalue(char*, symbols_table*);

/* Function:
** Description:
** -------------------------------------------------------------------------*/
int verify_symbols_table(symbols_table*);

#endif